<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
	<%@ page import="bean.*" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Best crime game in the world!</title>
<link href="css/tcss.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
	<div class="container">
		<div class="header">
			<img src="images/header.jpg"></img>
		</div>
		<div class="topMenu">
			<%@ include file="infoBar.jsp"%>
		</div>
		<div class="sideMenu">
			<%@ include file="menu.jsp"%>
		</div>
		<div class="center"> 
			<% CharacterBEAN characterBEAN = (CharacterBEAN) request.getAttribute( "character" ); %>
			<% EquipmentBEAN equipmentBEAN = (EquipmentBEAN) request.getAttribute( "equipment" ); %>
			<div class="profilePanel">
				<table>
					<tr>
						<td style="width: 150px"><b>Name:</b></td>
						<td style="width: 100px;"><% out.print( characterBEAN.getCharName()); %></td>
						<td style="width: 150px;"><b>Rank:</b></td>
						<td style="width: 100px;"><% out.print( characterBEAN.getLevelName( characterBEAN.getLevel()) );%></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Cash:</b></td>
						<td style="width: 100px;"><% out.print( "$ " + characterBEAN.getMoneyCash() ); %></td>
						<td style="width: 150px;"><b>rank continue:</b></td>
						<td style="width: 100px;"><% out.print( characterBEAN.getExperienceToGoInPercentage( characterBEAN.getExperience(), characterBEAN.getLevel() ) + " %" ); %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Bank:</b></td>
						<td style="width: 100px;"><% out.print( "$ " + characterBEAN.getMoneyBank() ); %></td>
						<td style="width: 150px;"><b>shootskill:</b></td>
						<td style="width: 100px;"><% out.print( characterBEAN.getShootExperience() + " %" );%></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Swiss Bank:</b></td>
						<td style="width: 100px;">comming soon!</td>
						<td style="width: 150px;"><b></b></td>
						<td style="width: 100px;"></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Object:</b></td>
						<td style="width: 100px;"><% if( ! (request.getAttribute("profileObject") == null)){ out.print( ((ObjectBEAN) request.getAttribute( "profileObject" )).getName());} else { out.print( "none" ); } %></td>
						<td style="width: 150px;"><b>Network:</b></td>
						<td style="width: 100px;"><% if( ! (request.getAttribute("profileNetwork") == null)){ out.print( ((NetworkBEAN) request.getAttribute( "profileNetwork" )).getName());} else { out.print( "none" ); } %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>House:</b></td>
						<td style="width: 100px;">Show house..</td>
						<td style="width: 150px;"><b>Function:</b></td>
						<td style="width: 100px;"></td>
					</tr>
				</table>
			</div> <br>
			<div class="equipmentList">
				You are in posession of:
				<table>
					<tr>
						<td style="width: 150px"><b>Sniper:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isSniperRifle() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
						<td style="width: 150px;"><b>Bullet free armor:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isBulletFreeArmor() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Uzi SMG:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isUziSMG() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
						<td style="width: 150px;"><b>Bullet free helmet:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isBulletFreeHelmet() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Desert eagle:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isDesertEagle() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
						<td style="width: 150px;"><b>Bomb armor:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isBombArmor() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Barak SP-21:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isBarakSP21() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
						<td style="width: 150px;"><b>Bodyguards:</b></td>
						<td style="width: 100px;"><% out.print( equipmentBEAN.getBodyguard()); %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Colt M1911:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isColtM1911() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
						<td style="width: 150px;"><b>Bullets:</b></td>
						<td style="width: 100px;"><% out.print( equipmentBEAN.getBullet()); %></td>
					</tr>
					<tr>
						<td style="width: 150px"><b>Knife:</b></td>
						<td style="width: 100px;"><% if( equipmentBEAN.isKnife() ){ out.print( "yes" ); } else { out.print( "No" ); } %></td>
						<td style="width: 150px;"><b></b></td>
						<td style="width: 100px;"></td>
					</tr>
				</table>
			</div> <br>
			<div class="searchList">
				Find a user! <br>
				<form  name="findUser" action="User" method="post"> 
					<input type="hidden" name="action" value="findUser">
					<input type="text" name="find" size="25" style="background-color: #C0C0C0">
					<input type="submit" value="Search.." style="background-color: #C0C0C0">
				</form>
			</div>
			<div class="cooldownList">
				cooldown list comming soon!
			</div>
			<div calss="cooldownList">
				create setting backfire!
			</div>
		</div>
	</div>
</body>
</html>